package com.wyp.vo;


import com.wyp.utils.validator.IsMobile;

import javax.validation.constraints.NotNull;

/**
 * user vo对象分装
 * 使用jsr303进行参数校验
 *
 * @author: Oliver
 */
public class UserVO {

    @NotNull
    @IsMobile
    private String mobile;

    @NotNull
    private String password;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
